package com.qfmy.model.entity.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity.common
 * @date 2025/11/06
 * @description 签到奖励规则表实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SignRewardRule {

    @Schema(description = "主键ID，自增")
    private Long id;

    @Schema(description = "周期内天数（1-7，对应第1-7天）")
    private Integer dayOfCycle;

    @Schema(description = "奖励金额（元）")
    private BigDecimal rewardAmount;

    @Schema(description = "视频任务次数要求")
    private Integer videoTaskCount;

    @Schema(description = "创建时间（默认当前时间）")
    private LocalDateTime createTime;

    @Schema(description = "更新时间（默认当前时间，更新时自动刷新）")
    private LocalDateTime updateTime;
}